﻿namespace = peru_bolivia_confederation

peru_bolivia_confederation.1 = { #Historical Context
	type = country_event
	placement = ROOT
	title = {
		first_valid = {
			triggered_desc = {
				desc = peru_bolivia_confederation.1.t
				trigger = {
					exists = c:BOL
					c:BOL = THIS
				}
			}
			triggered_desc = {
				desc = peru_bolivia_confederation.1.t2
				trigger = {
					exists = c:PEU
					c:PEU = THIS
				}
			}
		}
	}
	desc = peru_bolivia_confederation.1.d
	flavor =  peru_bolivia_confederation.1.f

	duration = 1

	event_image = {
		video = "gfx/event_pictures/southamerica_war_civilians.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/war_civilians"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	trigger = {
		#triggered at the start
	}

	immediate = {
		set_variable = {
			name = peru_the_feeble_union_var
			value = 0
		}
		c:PEU = {
			save_scope_as = peu_scope
		}
		c:PES = {
			save_scope_as = pes_scope
		}
		c:BOL = {
			save_scope_as = bol_scope
		}
	}	

    option = { 
		default_option = yes
		name = peru_bolivia_confederation.1.a
		trigger = {
			exists = c:BOL
			c:BOL = THIS
		}	
	}

	option = { 
		default_option = yes
		name = peru_bolivia_confederation.1.b
		trigger = {
			exists = c:PEU
			c:PEU = THIS
		}	
	}
}

peru_bolivia_confederation.2 = { #Fin de la Revuelta
	type = country_event
	placement = ROOT
	title = {
		first_valid = {
			triggered_desc = {
				desc = peru_bolivia_confederation.2.t
				trigger = {
					exists = c:BOL
					c:BOL = THIS
				}
			}
			triggered_desc = {
				desc = peru_bolivia_confederation.2.t2
				trigger = {
					exists = c:PEU
					c:PEU = THIS
				}
			}
		}
	}
	desc = {
		first_valid = {
			triggered_desc = {
				desc = peru_bolivia_confederation.2.d
				trigger = {
					exists = c:BOL
					c:BOL = THIS
				}
			}
			triggered_desc = {
				desc = peru_bolivia_confederation.2.d2
				trigger = {
					exists = c:PEU
					c:PEU = THIS
				}
			}
		}
	}
	
	flavor = peru_bolivia_confederation.2.f
	
	duration = 1

	event_image = {
		video = "gfx/event_pictures/unspecific_military_parade.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/military_parade"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	immediate = {
		c:PEU = {
			save_scope_as = peu_scope
		}
		c:PES = {
			save_scope_as = pes_scope
		}
		c:BOL = {
			save_scope_as = bol_scope
		}
	}

	trigger = {
		OR = {
		  c:PEU = THIS
		  c:BOL = THIS
		} 
		NOT = { has_global_variable = coup_ended }
	}
	
	option = { 
		default_option = yes
		name = peru_bolivia_confederation.2.b
		trigger = {
			exists = c:PEU
			c:PEU = THIS
		}
		c:PEU = {
			trigger_event = {
				id = peru_bolivia_confederation.10
				days = 5
			}
		}
	}

	option = { 
		default_option = yes
		name = peru_bolivia_confederation.2.a
		trigger = {
			exists = c:BOL
			c:BOL = THIS
		}
		c:BOL = {
			trigger_event = {
				id = peru_bolivia_confederation.3
				days = 10
			}
			set_global_variable = { name = coup_ended }
		}
		hidden_effect = {
			c:CHL = {
				trigger_event = peru_bolivia_confederation.13
			}
		}
	}
}

peru_bolivia_confederation.3 = { #Division of Peru
	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.3.t
	desc = peru_bolivia_confederation.3.d
	flavor =  peru_bolivia_confederation.3.f

	duration = 1

	event_image = {
		video = "gfx/event_pictures/southamerica_aristocrats.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_default.dds"


	trigger = {
		#triggered by JE
	}

	
	option = { #Dividir Perú
		name = peru_bolivia_confederation.3.a
		default_option = yes
		create_country = {
            tag = ESP
			origin = c:PEU
			state = s:STATE_AREQUIPA.region_state:PEU
		}
		s:STATE_ICA = {
			set_owner_of_provinces = {
				country = c:ESP
				provinces = { x6040B0 xB0BAC0 xE5E702 x52BF37 x08623F xDFC030 x5F849A xFB1969 x003582 x3C568C xCAB5E1 x7991EE x4061BE x0D8A39 x68D883 xA7C0A9 x1CA561 xF211E2 xF0A4FE x3F9FD5 xB3DC65 xD54205 x83E894 xFF8828 xBDFBD1 x817BB5 x186AEE xB2AB53 x1F2F47 xB15AC4 x7DD2F8 x43494D x199608 x0AF425 x98E058 xE7EB9B x38EE47 x08BBBC x6780B3 x7B9FBE x40E12A x3B8AB8 xF3A702 xA4DAF3 xDF4030 x44B4A5 x807F09 xA4CA0B x08AC16 x82F15A }
			}
		}
		s:STATE_TARAPACA = {
			set_owner_of_provinces = {
				country = c:ESP
				provinces = { xB3DA33 x380AE9 xC9DDC4 x8733A4 x79C7F7 x2F3768 x1040D0 xD46425 xCB9DD5 xF391A7 xA00070 x49DD3B x2FB295 }
			}
		}
		s:STATE_LIMA = {
			set_owner_of_provinces = {
				country = c:ESP
				provinces = { xDF00B0 x32FF31 xA101CC xF333CF }
			}
		}
		s:STATE_ACRE = {
			set_owner_of_provinces = {
				country = c:ESP
				provinces = { xFA73DA x174A88 x9A5667 xAB73D1 x93D464 x2C1E28 xF605CB xFDB1E8 x5720BB xF23C51 x46F090 }
			}
		}
		s:STATE_AMAZONAS = {
			set_owner_of_provinces = {
				country = c:ESP
				provinces = { x83B1BA x8BD00A x4C2A62 xEC140B xFC221C xB43B72 xE8E12A xF192D6 x4751E8 xCF9E9F x8F231D xB29291 x2AF127 x8A5A62 x41C0D0 x7CD52C xA88EBF x9AE5DE xBC7468 x6809E1 x5C413B x2404C7 x3FA0FB x6C2ED1 x2F69F7 }
			}
		}
        create_diplomatic_pact = {
            country = c:ESP
            type = confederation
        }
		c:ESP = {
			set_relations = { country = c:BOL value = 80 }
			create_character = {
			 first_name = nicolas
			 last_name = fernandez_de_pierola
			 ig_leader = yes
			 interest_group = ig_intelligentsia
			 ruler = yes
			 birth_date = 1788.01.23
			 female = no
			 culture = cu:south_andean
			 dna = dna_nicolas_fernandez_de_pierola
			 ideology = ideology_meritocratic
			 religion = rel:catholic
			 traits = {
				 persistent
				 basic_diplomat
				}
		    }
			create_character = {
				first_name = blas
				last_name = cardena
				ig_leader = no 
				interest_group = ig_armed_forces
				is_general = yes
				birth_date = 1792.2.2
				female = no 
				culture = cu:south_andean 
				dna = dna_blas_cardeñas
				ideology = ideology_moderate
				religion = rel:catholic
				traits = {
					reserved
					experienced_offensive_planner 
				}
			}
		}
		change_relations = {
			country = c:PEU
			value = -20
		}
		trigger_event = {
			id = peru_bolivia_confederation.4
			days = 6
		}
		hidden_effect = {
			c:PEU = {
			    trigger_event = {
				  id = peru_bolivia_confederation.4
				  days = 5
			    }
		    }
		}
		
		ai_chance = {
			base = 100
		}
	}

	option = { # Peru Unido
		name = peru_bolivia_confederation.3.b
		ai_chance = {
			base = 5
		}
		trigger_event = {
			id = peru_bolivia_confederation.6
			months = 7
		}
	}
}

peru_bolivia_confederation.4 = { #Viva Peru del Sur
	type = country_event
	placement = ROOT
	title = {
		first_valid = {
			triggered_desc = {
				desc = peru_bolivia_confederation.4.t
				trigger = {
					exists = c:BOL
					c:BOL = THIS
				}
			}
			triggered_desc = {
				desc = peru_bolivia_confederation.4.t2
				trigger = {
					exists = c:ESP
					c:PEU = THIS
				}
			}
		}
	}

	desc = peru_bolivia_confederation.4.d

	flavor =  peru_bolivia_confederation.4.f

	duration = 1

	event_image = {
		video = "gfx/event_pictures/unspecific_politicians_arguing.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	trigger = {
		#triggered by chain
	}

	immediate = {

		c:ESP = {
			save_scope_as = esp_scope
		}	
	}

	option = { #viva la independecia! - BOL
		default_option = yes
		name = peru_bolivia_confederation.4.a
		trigger = {
			exists = c:BOL
			c:BOL = THIS
		}
		trigger_event = {
			id = peru_bolivia_confederation.5
			months = 7
		}
		hidden_effect = {
            c:ESP = { 
				ig:ig_landowners = {
			      remove_ideology = ideology_paternalistic
			      add_ideology = ideology_caudillismo
		        }
				ig:ig_armed_forces = {
			      add_ideology = ideology_caudillismo
		        }
				add_modifier = {
			      name = age_of_caudillos_modifier
			      months = very_long_modifier_time
			      is_decaying = yes
		        }
            }
		}	
		c:ESP = {
			set_next_election_date = "1837.9.17"
			add_loyalists = {
				strata = poor
				value = 0.6
			}
			add_loyalists = {
				strata = rich
				value = 0.3
			}
			create_character = {
			  first_name = pio
			  last_name = tristan
			  ig_leader = no
			  interest_group = ig_armed_forces
			  ruler = yes
			  birth_date = 1773.07.11
			  female = no
			  culture = cu:south_andean
			  dna = dna_pio_tristan
			  ideology = ideology_moderate
			  religion = rel:catholic
			  traits = { 
				 reserved
                 tactful
                 experienced_defensive_strategist
				}
			}
			create_character = {
			 first_name = ramon
			 last_name = herrera
			 ig_leader = yes
			 interest_group = ig_armed_forces
			 birth_date = 1799.12.7
			 female = no
			 culture = cu:south_andean
			 dna = dna_ramon_herrera
			 ideology = ideology_moderate
			 religion = rel:catholic
			 traits = { 
				 tactful
				 traditionalist_commander
				 basic_diplomat
				}
			}
			
			random_scope_state = {
				limit = {
					state_region = s:STATE_ICA
				}
				set_state_type = incorporated
		    }
			random_scope_state = {
				limit = {
					state_region = s:STATE_LIMA
				}
				set_state_type = incorporated
		    }
			random_scope_state = {
				limit = {
					state_region = s:STATE_TARAPACA
				}
				set_state_type = incorporated
		    }
		}
	}	
	option = { #viva la independecia! - PEU
		default_option = yes
		name = peru_bolivia_confederation.4.b
		trigger = {
			exists = c:PEU
			c:PEU = THIS
		}	
	}
}

peru_bolivia_confederation.5 = { #Formalizacion
	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.5.t
	desc = peru_bolivia_confederation.5.d
	flavor =  peru_bolivia_confederation.5.f

	duration = 1

	event_image = {
		video = "gfx/event_pictures/unspecific_ruler_speaking_to_people.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_default.dds"
	
	trigger = {

	}
	
	option = {
		default_option = yes
		name = peru_bolivia_confederation.5.a
		create_incident = {
			value = 10
			country = c:PEU
		}
		trigger_event = {
			id = peru_bolivia_confederation.7
			months = 6
		}
	}
}

peru_bolivia_confederation.6 = { #Formalizacion - One Peru
	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.5.t
	desc = peru_bolivia_confederation.6.d
	flavor =  peru_bolivia_confederation.6.f

	duration = 1

	event_image = {
		video = "gfx/event_pictures/unspecific_ruler_speaking_to_people.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	trigger = {

	}
	
	option = {
		default_option = yes
		name = peru_bolivia_confederation.5.a
		
		create_incident = {
			value = 5
			country = c:PEU
		}

		trigger_event = {
			id = peru_bolivia_confederation.7
			months = 6
		}
	}
}

peru_bolivia_confederation.7 = { #Pacto de Tacna 
	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.7.t
	desc = peru_bolivia_confederation.7.d
	flavor =  peru_bolivia_confederation.7.f

	duration = 1

	event_image = {
		video = "gfx/event_pictures/southamerica_aristocrats.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	trigger = {

	}

	immediate = {
		set_variable = {
			name = peru_bolivia_var
			value = 0
		}
		add_journal_entry = {
			type = je_peru_bolivia_lai
		}
		trigger_event = {
			id = peru_bolivia_confederation.9
			days = 3655
		}
		c:USA = {
			save_scope_as = usa_scope
		}
	}

	option = { 
	    default_option = yes
	    name = peru_bolivia_confederation.7.a
		call_election = {
		  months = 120
		}
	}
}

peru_bolivia_confederation.8 = { #Consolidation 
	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.8.t
	desc = peru_bolivia_confederation.8.d
	flavor =  peru_bolivia_confederation.8.f

	duration = 1

	event_image = {
		video = "gfx/event_pictures/southamerica_aristocrats.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	trigger = {
		# triggered by JE
	}

	option = { 
	    default_option = yes
	    name = peru_bolivia_confederation.8.a	
		
		c:BOL = {
          annex = c:PEU
        }

        c:BOL = {
            annex = c:ESP
			random_scope_state = {
				limit = {
					state_region = s:STATE_PASTAZA
				}
				set_state_type = incorporated
		    }
		    random_scope_state = {
				limit = {
					state_region = s:STATE_CAJAMARCA
				}
				set_state_type = incorporated
		    }
			random_scope_state = {
				limit = {
					state_region = s:STATE_LIMA
				}
				set_state_type = incorporated
		    }
			random_scope_state = {
				limit = {
					state_region = s:STATE_ICA
				}
				set_state_type = incorporated
		    }
			random_scope_state = {
				limit = {
					state_region = s:STATE_AREQUIPA
				}
				set_state_type = incorporated
		    }
			random_scope_state = {
				limit = {
					state_region = s:STATE_TARAPACA
				}
				set_state_type = incorporated
		    }
			random_scope_state = {
				limit = {
					state_region = s:STATE_CAJAMARCA
				}
				set_state_type = incorporated
		    }
        }

		change_tag = PBC
	}
}

peru_bolivia_confederation.9 = { #Elecciones
	type = country_event
	hidden = yes

	trigger = {
		c:BOL = THIS
		NOT = { has_global_variable = no_ten_year }
	}

	duration = 1

	immediate = {
		call_election = {
		  months = 120
		}
		
		trigger_event = {
			id = peru_bolivia_confederation.9
			days = 3655
		}
	}
}

peru_bolivia_confederation.10 = { #Peru - Aliaga
	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.10.t
	desc = peru_bolivia_confederation.10.d
	flavor = peru_bolivia_confederation.10.f
	
	duration = 1

	event_image = {
		video = "gfx/event_pictures/southamerica_aristocrats.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	trigger = {

	}

	immediate = {
		c:CHL = {
			save_scope_as = chl_scope
		}
	}
	
	option = { 
		name = peru_bolivia_confederation.10.a
		
		change_relations = {
			country = c:CHL
			value = 25
		}
		change_relations = {
			country = c:BOL
			value = -20
		}
		add_loyalists = {
			strata = rich
			value = 0.15
		}
		add_radicals = {
			strata = poor
			value = 0.05
		}
		c:BOL = {
			trigger_event = peru_bolivia_confederation.11
		}

		ai_chance = 75
	}

	option = { 
		default_option = yes
		name = peru_bolivia_confederation.10.b

		change_relations = {
			country = c:CHL
			value = 15
		}
		change_relations = {
			country = c:BOL
			value = -10
		}
		add_radicals = {
			strata = rich
			value = 0.1
		}
		c:BOL = {
			trigger_event = {
				id = peru_bolivia_confederation.12
			}
		}

		ai_chance = 25
	}
}

peru_bolivia_confederation.11 = { #Bolivian reaction/notification of Aliaga - Worse
 	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.11.t
	desc = peru_bolivia_confederation.11.d
	flavor = peru_bolivia_confederation.11.f
	
	duration = 1

	event_image = {
		video = "gfx/event_pictures/southamerica_aristocrats.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	trigger = {

	}

	option = {
		default_option = yes
		name = peru_bolivia_confederation.11.a
		change_relations = {
			country = c:CHL
			value = -25
		}
		add_radicals = {
			value = 0.1	
		}
		ai_chance = 25
	}

	option = {
		default_option = yes
		name = peru_bolivia_confederation.11.b
		change_relations = {
			country = c:CHL
			value = -25
		}
		change_relations = {
			country = c:PEU
			value = -10
		}
		add_loyalists = {
			value = 0.05
		}
		ai_chance = 75
	}
}

peru_bolivia_confederation.12 = { #Bolivian reaction/notification of Aliaga - Better
 	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.12.t
	desc = peru_bolivia_confederation.12.d
	flavor = peru_bolivia_confederation.12.f
	
	duration = 1

	event_image = {
		video = "gfx/event_pictures/southamerica_aristocrats.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	trigger = {

	}

	option = {
		default_option = yes
		name = peru_bolivia_confederation.11.a
		change_relations = {
			country = c:CHL
			value = -20
		}
		add_radicals = {
			value = 0.1	
		}
		ai_chance = 25
	}

	option = {
		default_option = yes
		name = peru_bolivia_confederation.11.b
		change_relations = {
			country = c:CHL
			value = -20
		}
		change_relations = {
			country = c:PEU
			value = -10
		}
		add_loyalists = {
			value = 0.05
		}
		ai_chance = 75
	}
}

peru_bolivia_confederation.13 = { Portales Chile

	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.13.t
	desc = peru_bolivia_confederation.13.d
	flavor = peru_bolivia_confederation.13.f

	duration = 1

	event_image = {
		video = "gfx/event_pictures/unspecific_politicians_arguing.bk2"
	}
	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/leader_speaking_to_a_group_of_people"

	immediate = {
		c:BOL = {
			trigger_event = {
				id = peru_bolivia_confederation.14
				months = 10
			}
			save_scope_as = bol_scope
		}
	}

	trigger = {

	}

	option = {
		name = peru_bolivia_confederation.13.a
		
		create_diplomatic_pact = {
			country = c:BOL
			type = rivalry
		}

		change_relations = {
			country = c:BOL
			value = -20
		}

		add_loyalists = {
			strata = rich
			value = 0.05	
		}

		ai_chance = 25
	}

	option = {
		default_option = yes
		name = peru_bolivia_confederation.13.b

		add_radicals = {
			strata = rich
			value = 0.07
		}
		ai_chance = 75
	}
}


peru_bolivia_confederation.14 = { #Kill Portales Plot

	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.14.t
	desc = peru_bolivia_confederation.14.d
	flavor = peru_bolivia_confederation.14.f

	duration = 1

	event_image = {
		video = "gfx/event_pictures/unspecific_ruler_speaking_to_people.bk2"
	}

	immediate = {
		c:CHL = {
			save_scope_as = chl_scope
		}
	}

	trigger = {

	}

	option = {
		name = peru_bolivia_confederation.14.a

        c:CHL = {
			trigger_event = {
				id = peru_bolivia_confederation.15
			}
		}
			
		random_list = {

			25 = {
				c:CHL = {
					trigger_event = peru_bolivia_confederation.16
				}
			}

			75 = {
				#nothing
			}	
		}

		ai_chance = 50
	}

	option = {
		default_option = yes
		name = peru_bolivia_confederation.14.b

		change_relations = {
			country = c:CHL 
			value = -20
		}

		hidden_effect = {
			random_list = {

				50 = {
					c:CHL = {
						trigger_event = peru_bolivia_confederation.15
					}
				}

				50 = {
					#nothing
				}	
			}
		}
	
		ai_chance = 50
	}
}

peru_bolivia_confederation.15 = { #Death of Portales

	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.15.t
	desc = peru_bolivia_confederation.15.d
	flavor = peru_bolivia_confederation.15.f

	duration = 1

	event_image = {
		video = "gfx/event_pictures/southamerica_war_civilians.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/public_figure_assassination"

	immediate = {
		c:CHL = {
			random_scope_character = {
				limit = {
					has_variable = is_portales
				}
				save_scope_as = portales_scope
		    }
		}
		scope:portales_scope = {
			kill_character = yes
		}
	}

	trigger = {

	}

	option = {

		name = peru_bolivia_confederation.15.a

		change_relations = {
			country = c:BOL
			value = -30
		}
		add_loyalists = {
			value = 0.1
		}

		c:BOl = {
			post_notification = rumors_have_spread_of_bolivias_involvement
		}
	}

	option = {

		default_option = yes
		name = peru_bolivia_confederation.15.b

		add_radicals = {
			value = 0.1
		}
	}
}

peru_bolivia_confederation.16 = { #Proof of Santa Cruz's involvement in the plot
	
	type = country_event
	placement = ROOT
	title = peru_bolivia_confederation.16.t
	desc = peru_bolivia_confederation.16.d
	flavor = peru_bolivia_confederation.16.f

	duration = 1

	event_image = {
		video = "gfx/event_pictures/unspecific_ruler_speaking_to_people.bk2"
	}

	immediate = {
		c:BOL = {
			save_scope_as = bol_scope
		}
	}

	trigger = {

	}

	option = {
		default_option = yes
		name = peru_bolivia_confederation.16.a

		change_relations = {
			country = c:BOL
			value = -50
		}

		c:BOL = {
			post_notification = chile_found_proof_of_the_plot
		}
	}
}